﻿using System.Collections.Generic;

namespace SnippetBox.Core.Data.Service {
    public interface IServiceBase<T> where T : class {
        List<T> GetAll();
        T GetById(int entityId);
        void Create(T entity);
        void Delete(T entity);
        void Save();
    }
}